Quiz 2


If you change the value of a control property in code and you want the property returned to its initial value each time the page is loaded you should
A. Disable view state for the control.

By default, the EnableViewState Property is set to True for a web server control. That means that all of the form and control peroperties that were changed by code are retained when the form is sent back from the
A. Client

You can run a file-system web site using Visual Studio's built-in web development server or
A. IIS

The Load event of a page occurs
A. Every time a page is loaded

Validation controls- The Validation is done on the client if DHTML is supported by the browser. (True)
- The Validation is done on the server. (True)
- You can use the IsValid property to test whether the validation failed. (True)

To test whether the validation done by the validation controls has been successful, you can test the IsValid property of the web page.

If you change the value of a control poroperty in code and you want the property returned to its initial value each time the page is loaded, you should:A. Disable View State for the control.

By default, the EnableViewState property is set to True for a web server control. That means that all of the form and control properties that were changed by code are retained when the form is sent back from the Client.

You can run a file-system web suit using Visual Studio’s build-in development server or IIS.

The Load event of a page occurs:
A. Every time the page is loaded

Which of the following is not true for validation controls?
A. The validation isn’t done if the form’s IsPostBack property is set to False